# Global ARCHitecture settings for the Sample code
#
# this file should be adapted to your platform

# Target CPU
CPU     = x86

# Target OS
OS      = LINUX

# Optimisation level
OPT     = -O3

# compiler version
CVER    = 4.2
# compiler
CC      = g++-$(CVER)
# linker
LD      = ld
AR      = ar

# some flags
DFLAGS	= -D_$(CPU) -D_$(OS)
FLAGS   = -fno-strict-aliasing -fexceptions -I/usr/include $(DFLAGS)

## path where to look for PvAPI shared lib
RPATH	= -Wl,--rpath -Wl,./ 

## TIFF library
LTIFF   = -ltiff

## few locations
INC_DIR	  = ../../inc-pc
BIN_DIR   = ../../bin-pc/$(CPU)
LIB_DIR   = ../../lib-pc/$(CPU)
OBJ_DIR	  = ./obj/$(CPU)
EXTRA_LIB = -lpthread -lrt
